package ru.ifmo.ct.network.brafs.client;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.UnknownHostException;
import java.util.List;

/**
 * @author Alex Vikharev vikharev@yandex-team.ru
 *         created 18.04.12
 */
public interface BraServer {
    void connect() throws IOException;

    void disconnect() throws IOException;

    OutputStream getOutputStream(String fileId);

    InputStream getInputStream(String fileId);

    List<String> listFiles(String prefix) throws IOException;
}
